package com.qujia.station.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.qujia.common.core.domain.AjaxResult;
import com.qujia.station.domain.StorageRecords;
import com.qujia.station.domain.dto.StorageRecordsQueryDto;
import com.qujia.station.domain.dto.StorageRecordsUpdateDto;
import com.qujia.station.domain.vo.StorageRecordsVo;

public interface StorageRecordsService extends IService<StorageRecords> {

    /**
     * 查询商品调拨入库详情
     * @param storageRecordsId
     * @return
     */
    StorageRecordsVo selectStorageRecordsDetails(Long storageRecordsId);

    /**
     * 查询商品入库列表
     * @param storageRecordsQueryDto
     * @return
     */
    PageInfo<StorageRecordsVo> selectStorageRecordsList(StorageRecordsQueryDto storageRecordsQueryDto);

    /**
     * 修改调拨入库数量
     * @param storageRecordsUpdateDto
     * @return
     */
    AjaxResult updateStorageRecords(StorageRecordsUpdateDto storageRecordsUpdateDto);


    /**
     * 确认入库
     * @param storageRecordsUpdateDto
     * @return
     */
    AjaxResult confirmStorage(StorageRecordsUpdateDto storageRecordsUpdateDto);
}
